package com.chixing.day05_oop.static_demo;

public class StaticTest {
    public static void main(String[] args) throws ClassNotFoundException {
       /* Product p1 = new Product();
        p1.proNo = 9001;
        p1.proName = "卫龙辣条";
        p1.proPrice = 5.5f;


        Product p2 = new Product();
        p2.proNo = 9002;
        p2.proName = "雀巢咖啡";
        p2.proPrice = 6.5f;
*/
        //HelloWorld.java ---HelloWorld.class---JVM运行

        // 类加载 class load
        // 类加载 class load
        Class.forName("com.chixing.day05_oop.static_demo.Product");

        // 实例化对象
        new Product();


    }
    }

